package com.ruoyi.doubledefense.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全事件管控对象 risk_event_control
 * 
 * @author zolet
 * @date 2025-05-06
 */
public class RiskEventControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 安全风险分析单元名称 */
    @Excel(name = "安全风险分析单元名称")
    private String unitName;

    /** 安全风险事件描述 */
    @Excel(name = "安全风险事件描述")
    private String eventDescription;

    /** 管控措施类型 */
    @Excel(name = "管控措施类型")
    private String measureType;

    /** 管控措施详细描述 */
    private String measureDetails;

    /** 隐患排查 */
    @Excel(name = "隐患排查")
    private String inspectionContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }

    public void setEventDescription(String eventDescription) 
    {
        this.eventDescription = eventDescription;
    }

    public String getEventDescription() 
    {
        return eventDescription;
    }

    public void setMeasureType(String measureType) 
    {
        this.measureType = measureType;
    }

    public String getMeasureType() 
    {
        return measureType;
    }

    public void setMeasureDetails(String measureDetails) 
    {
        this.measureDetails = measureDetails;
    }

    public String getMeasureDetails() 
    {
        return measureDetails;
    }

    public void setInspectionContent(String inspectionContent) 
    {
        this.inspectionContent = inspectionContent;
    }

    public String getInspectionContent() 
    {
        return inspectionContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitName", getUnitName())
            .append("eventDescription", getEventDescription())
            .append("measureType", getMeasureType())
            .append("measureDetails", getMeasureDetails())
            .append("inspectionContent", getInspectionContent())
            .toString();
    }
}
